package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 工单费用信息表
 * </p>
 *
 * @author WEN
 * @since 2023-10-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjWorkFeeDetail对象", description="工单费用信息表")
public class ZjWorkFeeDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "工单费用表ID")
    private Long workFeeId;

    @ApiModelProperty(value = "工单ID")
    private Long workId;

    @ApiModelProperty(value = "状态：1-待审核，2-已通过，3-已驳回")
    private Integer status;

    @ApiModelProperty(value = "收支类型：1-品牌商家承担，2-平台承担")
    private Integer type;

    @ApiModelProperty(value = "工单费用项目表ID")
    private Long workFeeProjectId;

    @ApiModelProperty(value = "确认费用状态：0-待确认，1-未执行，2-已确认")
    private Integer surePriceStatus;

    @ApiModelProperty(value = "是否服务商申请的费用：0-否，1-是")
    @TableField("is_network_apply")
    private Boolean networkApply;

    @ApiModelProperty(value = "平台承担费用")
    private BigDecimal price;

    @ApiModelProperty(value = "向服务商支付费用")
    private BigDecimal payNetworkPrice;

    @ApiModelProperty(value = "收取商家费用")
    private BigDecimal receiveFactoryPrice;

    @ApiModelProperty(value = "数量")
    private Integer qty;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtUpdate;


}
